import { combineReducers } from "redux";
import userReducer from "@reducers/userReducer";
import {persistReducer} from "redux-persist"
import storage from "redux-persist/lib/storage";

const rootReducer = combineReducers({ userReducer:persistReducer({key:"userReducer",storage},userReducer) });

export default rootReducer;